package com.ficus.road.maintain.core.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class CarDTO {
    @Id
    private String id;
    // 车牌号
    private String plateNo;
    // 车辆所属管养公司
    private String handleCompany;
    // 司机
    private String driver;
    // 汽车品牌
    private String brand;
    // 上次保养时间
    private Long lastMaintenance;
    // 建议下次保养时间
    private Long nextMaintenance;
    //责任人
    private String principal;
}
